/*
 * createTime: 2020/08/25 9:42
 * description: 兑奖服务
 */

import { BaseService, Service } from '@/service/request';

@Service('app/voucher')
export default class extends BaseService {
    // 兑换抽奖券
    increase(data) {
        return this.request({
            url: '/increase',
            method: 'POST',
            data
        });
    }
    // 分享得抽奖券
    shareAward(data) {
        return this.request({
            url: '/shareAward',
            method: 'POST',
            data
        });
    }
}